package tech.aistar.corejava.day10.homework;

/**
 * Created by 李雨昂 on 2019/7/26.
 */
public class Demo05 {
    public static void main(String[] args) {
        String str = "45.6";
        //字符串转double类型
        double a = Double.parseDouble(str.valueOf(str));

        System.out.println(a);
    }


}
